package com.zhu.designpatterns.creational.abstractfactory;

/**
 * @author ZhuXinYe
 * @date 2022/8/28 16:51
 * @description 具体工厂Truck
 **/
public class RedCarFactory implements CarFactory
{

	/**
	 * 生产产品SUV
	 *
	 * @return Car
	 */
	@Override
	public Car getSuv()
	{
		return new RedSuv();
	}

	@Override
	public Car getTruck()
	{
		return new RedTruck();
	}
}
